package com.jetpackframework.webview;

import android.util.Log;
import android.webkit.ConsoleMessage;
import android.webkit.WebChromeClient;

public class WebViewChromeCallBack extends WebChromeClient {
    private WebViewCallBack callBack;

    public WebViewChromeCallBack(WebViewCallBack callBack){
        this.callBack = callBack;
    }
    public boolean onConsoleMessage(ConsoleMessage consoleMessage) {
        Log.i("WebViewChromeCallBack",consoleMessage.message());
        return super.onConsoleMessage(consoleMessage);
    }
}
